import React, { FC, ReactElement, useState, useEffect } from 'react';
import style from './index.less';
import commonStyle from '@/pages/publicStyle';
import { Button } from 'antd';
import StepForm from './modules/StepFormExp';

const home: FC = (props): ReactElement => {
  const [comShowName, setComShowName] = useState('');

  useEffect(() => {}, []);
  const { homePageTitle, comTypeNameBox, publicComBox } = style;
  const { padding20, mt20, completeH } = commonStyle;
  return (
    <div>
      首页{props.children}
      <div className={publicComBox} style={{ ...padding20, ...mt20 }}>
        {comShowName === 'stepForm' && <StepForm></StepForm>}
      </div>
    </div>
  );
};
export default home;
